![]() |
MPRemoteProcedure |
||||
Header: | Multiprocessing.h | Carbon status: | Unsupported | |
Defines a pointer to a remote procedure callback. When calling MPRemoteCall, you must designate a remote procedure callback to handle any calls to nonreentrant functions (such as Mac OS system software calls).
typedef void(*MPRemoteProcedure) ( void *parameter );
You would declare your function like this if you were to name it MyCallback:
void *MyCallback ( void *parameter );
A pointer to any information you want to pass to MyMPRemoteProcedure. For example, parameter might point to a parameter list that MyRemoteProcedure could then pass to a Mac OS system software function.
Note that your application-defined function must be PowerPC native code, since Multiprocessing Services tasks cannot call 68K code.
Introduced with Multiprocessing Services 2.0.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)